import http from './http'
// 商品搜索 https://api-hmugo-web.itheima.net/api/public/v1/goods/qsearch
export const searchApi = (query) => {
    return http({
        url: 'https://api-hmugo-web.itheima.net/api/public/v1/goods/qsearch',
        method: "GET",
        params: {
            query
        }
    })
}